/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package br.terminalrodoviario;

/**
 *
 * @author marcelo
 */
public class RouteItinerary extends BaseEntity<RouteItinerary>{
    private Route route;
    private City city;
    private int sequence;

    // <editor-fold defaultstate="collapsed" desc="Builders">
    public RouteItinerary(){}
    public RouteItinerary(Route route, City city, int sequence) {
        this.route = route;
        this.city = city;
        this.sequence = sequence;
    }
    // </editor-fold>

    // <editor-fold defaultstate="collapsed" desc="Properties">
    public Route getRoute() {
        return route;
    }

    public void setRoute(Route route) {
        this.route = route;
    }

    public City getCity() {
        return city;
    }

    public void setCity(City city) {
        this.city = city;
    }

    public int getSequence() {
        return sequence;
    }

    public void setSequence(int sequence) {
        this.sequence = sequence;
    }
// </editor-fold>
}
